package cn.richx.pushmessage.pojo;

public class RichHttpResponse<T> {
    /**
     * 0成功，>1表示错误码
     */
    private int ResponseCode;
    /**
     * 提示信息
     */
    private String ResponseResult;
    /**
     * 响应结果
     */
    private T ResponseObject;

    public int getResponseCode() {
        return ResponseCode;
    }

    public void setResponseCode(int responseCode) {
        ResponseCode = responseCode;
    }

    public String getResponseResult() {
        return ResponseResult;
    }

    public void setResponseResult(String responseResult) {
        ResponseResult = responseResult;
    }

    public T getResponseObject() {
        return ResponseObject;
    }

    public void setResponseObject(T responseObject) {
        ResponseObject = responseObject;
    }

    public RichHttpResponse() {
        ResponseCode = 0;
    }

    public RichHttpResponse(int responseCode) {
        ResponseCode = responseCode;
    }
}
